﻿<%@ Page Title="Check SCCM Client" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="CheckWMI.aspx.vb" Inherits="WebApplicationWmi.CheckWMI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:TextBox ID="TextBoxEnterComp" runat="server" Height="30px" Width="300px">16MH00000YYYYYY</asp:TextBox>
<asp:Button ID="ButtonCheck" runat="server" Height="40px" Text="Проверить" Width="280px" />
<br />
    <br />

    <table border="1" style="border: thin solid #669999; border-collapse: collapse; border-spacing: 2px; empty-cells: show; width: 80%;" id="tbl1">
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right; width: 30%;">NetBIOS Name: </td>
            <td style="padding: 3px; border-style: solid; border-width: thin; width: 69%;"><asp:TextBox ID="TextBoxCompName" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">IP Address:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxIP" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">IP Gateway:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxIPSubnet" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">MAC:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxMAC" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">OS:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxOS" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">OS Service Pack:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxOSPack" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
    </table>

    
    <br />
    <asp:Label ID="Label2" runat="server" Text="SCCM Client"></asp:Label>
&nbsp;<table border="1" style="border: thin solid #669999; border-collapse: collapse; border-spacing: 2px; empty-cells: show; width: 80%;" id="tbl2">
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right; width: 30%;">Site Code: </td>
            <td style="padding: 3px; border-style: solid; border-width: thin; width: 69%;"><asp:TextBox ID="TextBoxSiteCode" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">Management point:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxMP" runat="server" Width="98%" AccessKey="1"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">Version:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxVersion" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">GUID:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxGUID" runat="server" Width="98%"></asp:TextBox></td> 
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">GUID Change Date:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxGUID_ChangeDate" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">MP Registration Time:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxMPReg" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">Last Heartbeat Discovery:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxHBDisc" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">Last Hardware Inventory:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxHWInv" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">Last Software Inventory:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBoxSWInv" runat="server" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="border-style: solid; border-width: thin; text-align: right;">temp:</td>
            <td style="padding: 3px; border-style: solid; border-width: thin;"><asp:TextBox ID="TextBox1" runat="server" Width="98%"></asp:TextBox></td>
        </tr>

    </table>
    <br />
    <table style="width:80%;" id="tbl3" border="1">
        <tr>
            <td style="width: 25%">
                <asp:Button ID="ButtonRepCli" runat="server" Text="Repair" Width="100%" />
            </td>
            <td style="width: 25%">
                <asp:Button ID="ButtonReinstall" runat="server" Text="Install/Reinstall" Width="100%" />
            </td>
            <td style="width: 25%">
                <asp:Button ID="BtnUninstall" runat="server" Text="Uninstall" Width="100%" />
            </td>
            <td style="width: 25%">
                <asp:Button ID="ButtonResetWMI" runat="server" Text="Reset WMI" Width="100%" />
            </td>
        </tr>

    </table>
    <table style="border-style: solid; border-width: thin; width: 80%; background-color: #EFEEEF;" id="TblStatus" border="1">
        <tr>
            <td><asp:Label ID="LabelStatus" runat="server"></asp:Label></td>
        </tr>

    </table>
    <br />
    <asp:Button ID="Button1" runat="server" Text="Button" />
    <br />
</asp:Content>
